[INFO] cloning repository https://github.com/pedrofgodinho/gain
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pedrofgodinho/gain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedrofgodinho%2Fgain", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedrofgodinho%2Fgain'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 41cb9f904f06f2de39b8103df6db29cbef22d397
[INFO] testing pedrofgodinho/gain against try#0abe69e6c16114311cc2700e972492e64d69c28f for pr-154065-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedrofgodinho%2Fgain" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/pedrofgodinho/gain
[INFO] finished tweaking git repo https://github.com/pedrofgodinho/gain
[INFO] tweaked toml for git repo https://github.com/pedrofgodinho/gain written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/pedrofgodinho/gain on toolchain 0abe69e6c16114311cc2700e972492e64d69c28f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/pedrofgodinho/gain already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f339909598230f15d909c7f962bd8f11742edc4cba49ebc8af563431b7a04437
[INFO] running `Command { std: "docker" "start" "-a" "f339909598230f15d909c7f962bd8f11742edc4cba49ebc8af563431b7a04437", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f339909598230f15d909c7f962bd8f11742edc4cba49ebc8af563431b7a04437", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f339909598230f15d909c7f962bd8f11742edc4cba49ebc8af563431b7a04437", kill_on_drop: false }`
[INFO] [stdout] f339909598230f15d909c7f962bd8f11742edc4cba49ebc8af563431b7a04437
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ef8afc205cd73c1fb469b01bb12f283795d0b60845f42ec76a3e95e641caf4eb
[INFO] running `Command { std: "docker" "start" "-a" "ef8afc205cd73c1fb469b01bb12f283795d0b60845f42ec76a3e95e641caf4eb", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.22
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]    Compiling windows_x86_64_gnu v0.52.6
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling semver v1.0.27
[INFO] [stderr]    Compiling regex-syntax v0.8.8
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling libudev-sys v0.1.4
[INFO] [stderr]    Compiling log v0.4.28
[INFO] [stderr]    Compiling lock_api v0.4.14
[INFO] [stderr]    Compiling hash32 v0.2.1
[INFO] [stderr]    Compiling windows-targets v0.52.6
[INFO] [stderr]    Compiling windows-result v0.2.0
[INFO] [stderr]    Compiling windows-strings v0.1.0
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling heapless v0.7.17
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling is-terminal v0.4.17
[INFO] [stderr]    Compiling nix v0.26.4
[INFO] [stderr]    Compiling libudev v0.3.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling windows-implement v0.58.0
[INFO] [stderr]    Compiling windows-interface v0.58.0
[INFO] [stderr]    Compiling regex v1.12.2
[INFO] [stderr]    Compiling windows-core v0.58.0
[INFO] [stderr]    Compiling env_logger v0.10.2
[INFO] [stderr]    Compiling pretty_env_logger v0.5.0
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling cobs v0.3.0
[INFO] [stderr]    Compiling unescaper v0.1.6
[INFO] [stderr]    Compiling windows v0.58.0
[INFO] [stderr]    Compiling serialport v4.8.1
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling gain-lib v0.1.0 (/opt/rustwide/workdir/gain-lib)
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling postcard v1.1.3
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]    Compiling gain-bin v0.1.0 (/opt/rustwide/workdir/gain-bin)
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]  --> gain-bin/src/volume.rs:3:30
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::{ffi::OsString, os::windows::ffi::OsStringExt};
[INFO] [stdout]   |                              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/std/src/os/mod.rs:56:4
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated here
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/std/src/os/mod.rs:120:9
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> gain-bin/src/volume.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     Win32::Foundation::{CloseHandle, MAX_PATH},
[INFO] [stdout]   |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> gain-bin/src/volume.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     Win32::Media::Audio::Endpoints::IAudioEndpointVolume,
[INFO] [stdout]   |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> gain-bin/src/volume.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     Win32::Media::Audio::{
[INFO] [stdout]   |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> gain-bin/src/volume.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     Win32::System::Com::{CLSCTX_ALL, COINIT_MULTITHREADED, CoCreateInstance, CoInitializeEx},
[INFO] [stdout]    |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> gain-bin/src/volume.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Win32::System::ProcessStatus::K32GetModuleBaseNameW,
[INFO] [stdout]    |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> gain-bin/src/volume.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     Win32::System::Threading::{OpenProcess, PROCESS_QUERY_INFORMATION, PROCESS_VM_READ},
[INFO] [stdout]    |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> gain-bin/src/volume.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     Win32::UI::WindowsAndMessaging::{GetForegroundWindow, GetWindowThreadProcessId},
[INFO] [stdout]    |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `windows::core`
[INFO] [stdout]   --> gain-bin/src/volume.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     core::{Interface, Result as WindowsResult},
[INFO] [stdout]    |     ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]    --> gain-bin/src/volume.rs:164:24
[INFO] [stdout]     |
[INFO] [stdout] 164 |     F: FnMut(&windows::Win32::Media::Audio::IAudioSessionEnumerator, i32) -> Result<()>,
[INFO] [stdout]     |                        ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope
[INFO] [stdout]    --> gain-bin/src/volume.rs:210:30
[INFO] [stdout]     |
[INFO] [stdout] 210 |         let name = OsString::from_wide(&buffer[0..len])
[INFO] [stdout]     |                              ^^^^^^^^^ function or associated item not found in `OsString`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `OsString` consider using one of the following associated functions:
[INFO] [stdout]       OsString::new
[INFO] [stdout]       OsString::from_encoded_bytes_unchecked
[INFO] [stdout]       OsString::with_capacity
[INFO] [stdout]    --> /rustc/0abe69e6c16114311cc2700e972492e64d69c28f/library/std/src/ffi/os_str.rs:141:4
[INFO] [stdout] help: there is an associated function `from_iter` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 210 -         let name = OsString::from_wide(&buffer[0..len])
[INFO] [stdout] 210 +         let name = OsString::from_iter(&buffer[0..len])
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `gain-bin` (bin "gain-bin") due to 11 previous errors
[INFO] running `Command { std: "docker" "inspect" "ef8afc205cd73c1fb469b01bb12f283795d0b60845f42ec76a3e95e641caf4eb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ef8afc205cd73c1fb469b01bb12f283795d0b60845f42ec76a3e95e641caf4eb", kill_on_drop: false }`
[INFO] [stdout] ef8afc205cd73c1fb469b01bb12f283795d0b60845f42ec76a3e95e641caf4eb
